package com.arun.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 
 * @author lxtian
 * C7中控绑定上传接口
 */
public class C7MTP implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6602425739577477113L;
	
	//@JsonIgnore
	private int	id;
	//@JsonIgnore
	private int version;
	private String sn; // 中控SN码，必填
	
	private String mac; // 中控MAC地址，必填
	
	//@JsonIgnore
    private String is_upload; // 是否已上传易马达数据库
	//@JsonIgnore
    private String code; // response code
	//@JsonIgnore
    private String error; // response error	message
	//@JsonIgnore
    private Date 	creation_date; // 创建日期
	public String getSn() {
		return sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getIs_upload() {
		return is_upload;
	}

	public void setIs_upload(String is_upload) {
		this.is_upload = is_upload;
	}

	public Date getCreation_date() {
		return creation_date;
	}

	public void setCreation_date(Date creation_date) {
		this.creation_date = creation_date;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

	@Override
	public String toString() {
		return "C7MTP [id=" + id + ", version=" + version + ", sn=" + sn + ", mac=" + mac + ", is_upload=" + is_upload
				+ ", code=" + code + ", error=" + error + ", creation_date=" + creation_date + "]";
	}
}
